package mysql

import "gorm.io/gorm"

type Product struct {
	gorm.Model
	UserId   int     `gorm:"type:int(10);not null;"`
	Name     string  `gorm:"type:varchar(20);not null;"`
	Price    float64 `gorm:"type:decimal(10,2);not null;"`
	Img      string  `gorm:"type:varchar(255);not null;"`
	Number   int     `gorm:"type:int(10);not null;"`
	Username string  `gorm:"type:varchar(20);not null;"`
}
